package com.yc.cloud.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 眼镜设备状态记录
 *
 * @author Yancy
 * @since 2024-11-26
 */
@Data
@TableName("device_status_logs")
@ApiModel(value = "ArDeviceStatus对象", description = "眼镜设备状态记录")
public class DeviceStatusLogs implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键", hidden = true)
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("设备编号")
    @TableField("device_num")
    private String deviceNum;

    @ApiModelProperty("设备类型")
    @TableField("device_type")
    private String deviceType;

    @ApiModelProperty("设备状态")
    @TableField("device_state")
    private String state;

    @ApiModelProperty(value = "创建时间", hidden = true)
    @TableField(value = "create_time")
    private LocalDateTime createTime;


    public static final String DEVICE_NUM = "device_num";

    public static final String DEVICE_TYPE = "device_type";

    public static final String DEVICE_STATE = "device_state";

}
